package com.unhz.taigu.service.impl;

import com.unhz.generator.dao.SysRolePermissionMapper;
import com.unhz.generator.pojo.SysRolePermission;
import com.unhz.taigu.service.SysRolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 沈佳庆
 * @Description:
 * @Date: Created in 下午 5:49 2018/3/5 0005
 * @Modified By: V1.0.0
 */
@Service
public class SysRolePermissionServiceImpl implements SysRolePermissionService{

    @Autowired
    private SysRolePermissionMapper sysRolePermissionMapper;

    @Override
    public int selectByroleId(Integer roleId) {
        return sysRolePermissionMapper.selectByroleId(roleId);
    }

    @Override
    public int selectInsoleByroleId(Integer roleId) {
        return sysRolePermissionMapper.selectInsoleByroleId(roleId);
    }

    @Override
    public int selectOrderByroleId(Integer roleId) {
        return sysRolePermissionMapper.selectOrderByroleId(roleId);
    }
}
